package inherit;

/**
 * @author : niu niu
 * @version : 1.0.0
 * @date : 2022/9/9 21:53
 */
public class Parent {
    public String name;
    public String eyes;

    private double money;
    private String car;

    public void useMoney(){
        System.out.println("每个月打生活费1500");
        money-=1500;
    }
    public void useCar(){
        System.out.println("不上班的时候可以用车");
    }
}
